package com.mqtt.ctwingmqtt.service;

import com.mqtt.ctwingmqtt.domain.PageResult;
import com.mqtt.ctwingmqtt.domain.entity.Command;

public interface CtwingService {
    void addMessage(String deviceAddress, String string, String s, String username,Boolean flag,String commandId,Integer productId,String deviceId,String masterKey);

    PageResult<Command> commandPage(Long pageNum, Long pageSize, String deviceAddress);

    Boolean cancelCommand(Command command);

    String getDtuId(String deviceAddress);

    String getdeviceId(String deviceAddress);
}
